/*
* $Id: Component.h 121 2010-07-19 22:33:47Z volok-aleksej@yandex.ru $
*
* Copyright 2008 by Volokitin Alexey
* All rights reserved
*
*/
#ifndef _COMPONENT_H_
#define _COMPONENT_H_

class CComponent : public IComponent
{
protected:
	std::vector<ISetting*> m_aSettings;
	IVisualComponent* m_pVisualComponent;
	unsigned int m_IdString;
public:
	CComponent(unsigned int IdString, IVisualComponent* pVisualComponent);
	virtual ~CComponent();

	virtual std::vector<ISetting*> GetSettings();
	virtual IVisualComponent* GetVisualComponent();
	virtual std::tstring GetNameComponent();
	virtual void Free();
};

#endif /*_COMPONENT_H_*/